﻿using System;

namespace Snap.RssManager
{
	/// <summary>
	/// A structure to hold the RSS feed items
	/// </summary>
	public class Rss
	{
		[Serializable]
		public struct Item
		{
			/// <summary>
			/// The publishing date as given by feed provider (likely in a local time).
			/// </summary>
			public DateTime Date;

			/// <summary>
			/// The title of the feed.
			/// </summary>
			public string Title;

			/// <summary>
			/// A description of the content (or the feed itself)
			/// </summary>
			public string Description;

			/// <summary>
			/// The link to the feed
			/// </summary>
			public string Link;
		}
	}
}
